package com.guigu.servicesystem.service;

import com.guigu.common_util.pojo.utils.Result;
import com.guigu.servicesystem.entity.TbResource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.servicesystem.entity.vo.Resource_menuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-09
 */
public interface TbResourceService extends IService<TbResource> {

    Result findPage(Map<String, Object> searchMap, Integer page, Integer size);
    //查找角色对应的权限跟菜单
    List<Resource_menuVo> selectResourse_menu(int id);
}
